package com.yuanqunsoft.alimigration.dao;

import java.util.List;

import com.yuanqunsoft.alimigration.dao.support.Page;
import com.yuanqunsoft.alimigration.model.Application;
import com.yuanqunsoft.alimigration.model.Module;

public interface IModuleDao {

    public List findByApplicationId(Integer appId);
    
    public Module findById(Integer modId);

    public void addModule(Module instance);

    public void deleteModule(Module instance);

    public void renameModule(String modName, Integer modId);

    public void updateModule(Module instance);
    
    public void deleteByApplicationId(Integer appId);
    
}